package com.tianya.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import io.swagger.annotations.ApiModel;

/**
 * @author TianYaGuoKe
 * @date 2025/5/21 16:34
 * @description AnnouncementStatus
 */
@ApiModel("通知状态枚举")
public enum AnnouncementStatus {
    published(1,  "已发布"),
    draft(2,  "草稿"),
    deleted(3,  "已删除");
    @EnumValue
    private Integer code;
    private String message;
    AnnouncementStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
